package uk.dier.account.utils;

import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;

public class DozerMapper {

	public static final <T> T mapClass (Object source, Class<T> destinationClass) {
		Mapper mapper = new DozerBeanMapper();
		return mapper.map(source, destinationClass);
	}
}
